package scjp.practice.exceptions.flowcontrol;

public class SwitchSample {


    public static void main(String[] args) {

        int x = 0;
        switch (x) {
            default:
                System.out.println("Still no idea what x is");
            case 1:
                System.out.println("x is equal to 1");
            case 2:
                System.out.println("also");
                break;
            case 3:
                System.out.println("x is equal to 3");
                break;

        }

    }
}
